/**
 * 
 */
package info.dani.operators;

/**
 * @author drodrigo_martinez
 *
 */
public class Operators {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		float euros = 0;
		int number = 0;
		int result = 0 ;
		
		//Operators: : + - * / %
		number = 600;
		result = number + 66;
		
		euros = 166.386f;
		
		System.out.println("6 euros are " + (euros * 6));
		
		// += -= *= /= %= Operators
		number = number * 666;
		// is equal to
		number *= 666;
		
		// ++ -- operadores unarios
		number = number +1;
		// is equal to
		number++;
		
		number--; /* decrement*/
		
		number = ++result;
		number = result++;

	}

}
